package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.HReturnMaterial;
import com.zhongwang.mms.gen.entity.HReturnMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HReturnMaterialMapper {
    long countByExample(HReturnMaterialExample example);

    int deleteByExample(HReturnMaterialExample example);

    int deleteByPrimaryKey(Integer rtmId);

    int insert(HReturnMaterial record);

    int insertSelective(HReturnMaterial record);

    List<HReturnMaterial> selectByExample(HReturnMaterialExample example);

    HReturnMaterial selectByPrimaryKey(Integer rtmId);

    int updateByExampleSelective(@Param("record") HReturnMaterial record, @Param("example") HReturnMaterialExample example);

    int updateByExample(@Param("record") HReturnMaterial record, @Param("example") HReturnMaterialExample example);

    int updateByPrimaryKeySelective(HReturnMaterial record);

    int updateByPrimaryKey(HReturnMaterial record);
}